@logoSize: 96rpx;
.user-info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 20rpx 0 48rpx;

  &-detail {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;

    &-icon {
      width: @logoSize;
      height: @logoSize;
      border-radius: 50%;
      margin-right: 24rpx;
    }

    &-text {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: flex-start;
      height: 100%;

      &-name {
        font-size: 32rpx;
        line-height: 48rpx;
        color: #262626;
        max-width: 300rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-family: PingFangSC-Medium;
        font-weight: 600;
      }

      &-roleName {
        display: flex;
        align-items: center;
        &-text {
          font-size: 28rpx;
          line-height: 44rpx;
          color: rgba(0, 0, 0, 0.65);
          max-width: 300rpx;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          margin-right: 16rpx;
          font-weight: 400;
          font-family: PingFangSC-Regular;
        }
        &-switch {
          width: 32rpx;
          height: 32rpx;
        }
      }
    }
  }

  &-search {
    flex: 0 0 48rpx;
    height: 48rpx;
  }
}
